package com.future.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description:
 * @author: 何晔
 * @time: 2022/6/23 10:37
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NoticeDto extends PageDto{

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private Date noticepublishtime;
    private String noticestatus;
}
